<!--
 * @Author: Freude Xu
 * @Date: 2021-10-04 17:06:21
 * @LastEditors: Freude Xu
 * @LastEditTime: 2021-10-04 18:09:46
 * @Description: 测试想要行内元素距离上一个元素10px中margin-top无效
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        span {
            margin-top: 10px;
        }
    </style>
</head>

<body>
    <div>
        aaa
    </div>
    <span>nihao </span>
</body>
<script>
    function changeObjectProperty(o) {
        o.siteUrl = "http://www.csser.com/";
        o = new Object();
        o.siteUrl = "http://www.popcg.com/";
    }
    var CSSer = new Object();
    changeObjectProperty(CSSer);
    console.log(CSSer.siteUrl); //http://www.csser.com/
</script>

</html>